<table>
	<tr>
		<th>日期</th>
		<th>提单号</th>
		<th>箱型20GP</th>
		<th>箱型40'</th>
		
		@foreach($fees as $fee)
		<th>{{$fee->fee_name}}</th>
		@endforeach
		<th>总计</th>
		<th>备注</th>
	</tr>
	@foreach($list as $v)
	<tr>
		<td>{{$v->created_at->format('Y-m-d')}}</td>
		<td>{{$v->code}}</td>
		<td>{{$v->box_20}}</td>
		<td>{{$v->box_40}}</td>
		@foreach($fees as $fee)
		<th>{{$v->getPayFee($fee->fee_name,$contacter)}}</th>
		@endforeach
		<td>{{$v->getPayAmount($contacter)}}</td>
		<td>{{$v->remark}}</td>
	</tr>
	@endforeach
	<tr>
		<td colspan="4">合计</td>
		<?php
			$total_fee = 0;
		?>
		@foreach($feeTotal as $total)
		<?php
			$total_fee +=$total;
		?>
		<td>{{$total}}</td>
		@endforeach
		<td>{{$total_fee}}</td>

	</tr>
</table>